# Form implementation generated from reading ui file 'src/eric7/Plugins/VcsPlugins/vcsGit/GitTagDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_GitTagDialog(object):
    def setupUi(self, GitTagDialog):
        GitTagDialog.setObjectName("GitTagDialog")
        GitTagDialog.resize(391, 344)
        GitTagDialog.setSizeGripEnabled(True)
        self.gridLayout_3 = QtWidgets.QGridLayout(GitTagDialog)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.TextLabel1 = QtWidgets.QLabel(parent=GitTagDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self.gridLayout_3.addWidget(self.TextLabel1, 0, 0, 1, 1)
        self.tagCombo = QtWidgets.QComboBox(parent=GitTagDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tagCombo.sizePolicy().hasHeightForWidth())
        self.tagCombo.setSizePolicy(sizePolicy)
        self.tagCombo.setEditable(True)
        self.tagCombo.setDuplicatesEnabled(False)
        self.tagCombo.setObjectName("tagCombo")
        self.gridLayout_3.addWidget(self.tagCombo, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(parent=GitTagDialog)
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 1, 0, 1, 1)
        self.revisionEdit = QtWidgets.QLineEdit(parent=GitTagDialog)
        self.revisionEdit.setObjectName("revisionEdit")
        self.gridLayout_3.addWidget(self.revisionEdit, 1, 1, 1, 1)
        self.tagActionGroup = QtWidgets.QGroupBox(parent=GitTagDialog)
        self.tagActionGroup.setObjectName("tagActionGroup")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.tagActionGroup)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.createTagButton = QtWidgets.QRadioButton(parent=self.tagActionGroup)
        self.createTagButton.setChecked(True)
        self.createTagButton.setObjectName("createTagButton")
        self.gridLayout_2.addWidget(self.createTagButton, 0, 0, 1, 1)
        self.deleteTagButton = QtWidgets.QRadioButton(parent=self.tagActionGroup)
        self.deleteTagButton.setObjectName("deleteTagButton")
        self.gridLayout_2.addWidget(self.deleteTagButton, 0, 1, 1, 1)
        self.verifyTagButton = QtWidgets.QRadioButton(parent=self.tagActionGroup)
        self.verifyTagButton.setObjectName("verifyTagButton")
        self.gridLayout_2.addWidget(self.verifyTagButton, 1, 0, 1, 1)
        self.gridLayout_3.addWidget(self.tagActionGroup, 2, 0, 1, 2)
        self.tagTypeGroup = QtWidgets.QGroupBox(parent=GitTagDialog)
        self.tagTypeGroup.setObjectName("tagTypeGroup")
        self.gridLayout = QtWidgets.QGridLayout(self.tagTypeGroup)
        self.gridLayout.setObjectName("gridLayout")
        self.globalTagButton = QtWidgets.QRadioButton(parent=self.tagTypeGroup)
        self.globalTagButton.setChecked(True)
        self.globalTagButton.setObjectName("globalTagButton")
        self.gridLayout.addWidget(self.globalTagButton, 0, 0, 1, 1)
        self.signedTagButton = QtWidgets.QRadioButton(parent=self.tagTypeGroup)
        self.signedTagButton.setObjectName("signedTagButton")
        self.gridLayout.addWidget(self.signedTagButton, 0, 1, 1, 1)
        self.localTagButton = QtWidgets.QRadioButton(parent=self.tagTypeGroup)
        self.localTagButton.setObjectName("localTagButton")
        self.gridLayout.addWidget(self.localTagButton, 1, 0, 1, 1)
        self.gridLayout_3.addWidget(self.tagTypeGroup, 3, 0, 1, 2)
        self.forceCheckBox = QtWidgets.QCheckBox(parent=GitTagDialog)
        self.forceCheckBox.setObjectName("forceCheckBox")
        self.gridLayout_3.addWidget(self.forceCheckBox, 4, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=GitTagDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout_3.addWidget(self.buttonBox, 5, 0, 1, 2)

        self.retranslateUi(GitTagDialog)
        self.buttonBox.accepted.connect(GitTagDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(GitTagDialog.reject) # type: ignore
        self.deleteTagButton.toggled['bool'].connect(self.revisionEdit.setDisabled) # type: ignore
        self.verifyTagButton.toggled['bool'].connect(self.revisionEdit.setDisabled) # type: ignore
        self.createTagButton.toggled['bool'].connect(self.tagTypeGroup.setEnabled) # type: ignore
        self.createTagButton.toggled['bool'].connect(self.forceCheckBox.setEnabled) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(GitTagDialog)
        GitTagDialog.setTabOrder(self.tagCombo, self.revisionEdit)
        GitTagDialog.setTabOrder(self.revisionEdit, self.createTagButton)
        GitTagDialog.setTabOrder(self.createTagButton, self.deleteTagButton)
        GitTagDialog.setTabOrder(self.deleteTagButton, self.verifyTagButton)
        GitTagDialog.setTabOrder(self.verifyTagButton, self.globalTagButton)
        GitTagDialog.setTabOrder(self.globalTagButton, self.signedTagButton)
        GitTagDialog.setTabOrder(self.signedTagButton, self.localTagButton)

    def retranslateUi(self, GitTagDialog):
        _translate = QtCore.QCoreApplication.translate
        GitTagDialog.setWindowTitle(_translate("GitTagDialog", "Git Tag"))
        self.TextLabel1.setText(_translate("GitTagDialog", "Name:"))
        self.tagCombo.setToolTip(_translate("GitTagDialog", "Enter the name of the tag"))
        self.tagCombo.setWhatsThis(_translate("GitTagDialog", "<b>Tag Name</b>\n"
"<p>Enter the name of the tag to be created, deleted or verified.</p>"))
        self.label.setText(_translate("GitTagDialog", "Revision:"))
        self.revisionEdit.setToolTip(_translate("GitTagDialog", "Enter a revision to set a tag for"))
        self.tagActionGroup.setTitle(_translate("GitTagDialog", "Tag Action"))
        self.createTagButton.setToolTip(_translate("GitTagDialog", "Select to create a tag"))
        self.createTagButton.setWhatsThis(_translate("GitTagDialog", "<b>Create Tag</b>\n"
"<p>Select this entry in order to create a tag.</p>"))
        self.createTagButton.setText(_translate("GitTagDialog", "Create Tag"))
        self.deleteTagButton.setToolTip(_translate("GitTagDialog", "Select to delete a tag"))
        self.deleteTagButton.setWhatsThis(_translate("GitTagDialog", "<b>Delete Tag</b>\n"
"<p>Select this entry in order to delete the selected tag.</p>"))
        self.deleteTagButton.setText(_translate("GitTagDialog", "Delete Tag"))
        self.verifyTagButton.setToolTip(_translate("GitTagDialog", "Select to verify a tag"))
        self.verifyTagButton.setWhatsThis(_translate("GitTagDialog", "<b>Verify Tag</b>\n"
"<p>Select this entry in order to verify the selected tag.</p>"))
        self.verifyTagButton.setText(_translate("GitTagDialog", "Verify Tag"))
        self.tagTypeGroup.setTitle(_translate("GitTagDialog", "Tag Type"))
        self.globalTagButton.setToolTip(_translate("GitTagDialog", "Select to create/delete/verify a global tag"))
        self.globalTagButton.setText(_translate("GitTagDialog", "Global Tag"))
        self.signedTagButton.setToolTip(_translate("GitTagDialog", "Select to create/delete/verify a signed tag"))
        self.signedTagButton.setText(_translate("GitTagDialog", "Signed Tag"))
        self.localTagButton.setToolTip(_translate("GitTagDialog", "Select to create/delete/verify a local tag"))
        self.localTagButton.setText(_translate("GitTagDialog", "Local Tag"))
        self.forceCheckBox.setToolTip(_translate("GitTagDialog", "Select to enforce the create operation"))
        self.forceCheckBox.setText(_translate("GitTagDialog", "Enforce Operation"))
